
package com.rightsidetech.trade;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource({"classpath:spring-dubbo-trade.xml"})
@MapperScan("com.rightsidetech.trade.mapper")
@EnableDiscoveryClient
public class TradeServerApplication {

    public static void main(final String[] args) {
        SpringApplication.run(TradeServerApplication.class, args);
    }

}
